Skip to content

Arm backend: Add pass to create CONST_SHAPEs#18099

Merged
oscarandersson8218 merged 2 commits intopytorch:mainfrom
oscarandersson8218:const_shapes_pass
Mar 16, 2026
Merged

Arm backend: Add pass to create CONST_SHAPEs#18099
oscarandersson8218 merged 2 commits intopytorch:mainfrom
oscarandersson8218:const_shapes_pass

Conversation

@oscarandersson8218
Copy link
Collaborator

@oscarandersson8218 oscarandersson8218 commented Mar 11, 2026

Add pass that creates CONST_SHAPEs for view_copy and repeat based on their list arguments.

cc @digantdesai @freddan80 @per @zingo @mansnils @Sebastian-Larsson @robell

Add pass that creates CONST_SHAPEs for view_copy and repeat based on
their list arguments.

Change-Id: Icf8e96383825cf0d17710d900e9041191f46f749
Co-authored-by: Per Åstrand <per.astrand@arm.com>
Signed-off-by: Oscar Andersson <oscar.andersson@arm.com>
@pytorch-bot
Copy link

pytorch-bot bot commented Mar 11, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/18099

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure, 1 Cancelled Job, 1 Pending

As of commit 42260d2 with merge base abc0237 (image):

NEW FAILURE - The following job has failed:

CANCELLED JOB - The following job was cancelled. Please retry:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 11, 2026
@oscarandersson8218 oscarandersson8218 added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk release notes: none Do not include this in the release notes labels Mar 11, 2026
Copy link
Collaborator

@zingo zingo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added file in under _passes that uses glob() so no need for any buck2 check.

@oscarandersson8218 oscarandersson8218 merged commit 10f22a7 into pytorch:main Mar 16, 2026
416 of 418 checks passed
jpiat pushed a commit to jpiat/executorch that referenced this pull request Mar 17, 2026
Add pass that creates CONST_SHAPEs for view_copy and repeat based on
their list arguments.

cc @digantdesai @freddan80 @per @zingo @mansnils @Sebastian-Larsson
@robell

Signed-off-by: Oscar Andersson <oscar.andersson@arm.com>
Co-authored-by: Per Åstrand <per.astrand@arm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants